home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-04-19 | 1.5 KB | 61 lines | [TEXT/MPS ] |
- //# Copyright: © 1993-94 by Apple Computer, Inc., all rights reserved.
- #ifndef _EXTENSN_
- #define _EXTENSN_
-
- #ifndef _ODOBJECT_
- #include "ODObject.idl"
- #endif
-
- //==============================================================================
- // Theory of Operation
- //==============================================================================
-
- /*
- ODExtension is the abstract base class from which object extension interfaces
- are derived. The base class itself has minimal behavior. It knows which
- object it is an extension of, and how to release resources in itself and in
- its object. Further behavior should be implemented in derived classes.
- */
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODExtension;
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
- //==============================================================================
- // ODExtension
- //==============================================================================
-
- interface ODExtension : ODObject
- {
-
- void InitExtension( inout ODObject base);
-
- ODObject GetBase();
-
- void Release();
-
- #ifdef __SOMIDL__
- implementation
- {
- override:
- somInit,
- somUninit;
-
- releaseorder:
- InitExtension,
- GetBase,
- Release;
-
-
- };
- #endif
- };
-
- #endif // _EXTENSN_
-